﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CreditAgricole.Application
{
    public class VOKnowledgeBase : VOBase
    {
        public string Product;
        public string DocType;
        public string Comment;
        public List<string> Keywords;
        public List<string> Audience;
        public DateTime ValidityDate;
        
        protected override void SetBaseInformation()
        {
            base.SetBaseInformation();
            properties.Add("Produit associé", Product);
            properties.Add("Type de document", DocType);
            properties.Add("Date de validité", ValidityDate.ToString("dd/MM/yyyy"));
        }
        
        protected override void SetDetailedInformation()
        {
            base.SetDetailedInformation();

            details.Add("Commentaire", Comment);
            details.Add("Mots clefs", Keywords);
            details.Add("Audience", Audience);
        }
    }
}
